package com.qilin.hscs.form;

import lombok.Data;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotBlank;

@Data
public class ResetPassForm {
    //用户手机号
    @NotBlank(message = "手机号不能为空")
    private String phone;

    //密码
    @NotBlank(message = "新密码不能为空")
    @Length(min = 6,max = 16,message = "新密码不能低于6为或高于16位")
    private String password;

    private String verificationCode;
}
